# %% 检查预处理数据
import json


with open("./preprocess_data/train.json", "r", encoding="utf-8") as f:
    data = json.load(f)
# %%
for i, x in enumerate(data):
    num = len(x["texts"])
    if num != len(x["origin_bboxs"]) or num != len(x["contour"]) or num != len(x["normlize_bboxs"]):
        print(i)
# %%
